class CreateMessages < ActiveRecord::Migration
  def self.up
    create_table :messages do |t|
      t.column :sala_id, :integer
      t.column :remitente, :string
      t.column :texto, :string
      t.column :created_at, :datetime
    end
  end
end
